<h2>Create a news item."application/views/create.php"</h2>
<?php
    echo validation_errors();
?>
<?php echo form_open('news/create'); ?>

<label for="title"> Title </label>
<input type="input" name="title"/>
<br/>
<label for="text">Text</label>
<textarea id="" name="text" rows="10" cols="30"></textarea>

<input type="submit" name="submit" value="Create news item"/>

</form>

